Markup |
<!--
* Copyright © 2015 salesforce.com, inc. All rights reserved.
* @copyright This document contains proprietary and confidential information and shall not be reproduced,
* transferred, or disclosed to others, without the prior written consent of Salesforce.
* @description HcCarePlanPage visualforce page, LighiningOut container for HcCarePlanBaseCmp
* @since 198.1
-->
<apex:page standardStylesheets="false" docType="html-5.0" showHeader="false" sidebar="false" readOnly="true" showChat="false" applyHtmlTag="false" applyBodyTag="false" wizard="false" cache="true" >
<c:HcCommonIncludes includeHealthCloud="true" setTabLink="true"/>
<html>
<c:HcSpinnerComponent spinnerContainerId="spinnerDiv"/>
<div id="lightningout-careplan" />
</html>
<script>
var patientId = healthCloud.getUrlQueryParameter('recId');
$Lightning.use("HealthCloudGA:HcCarePlanApp", function() {
$Lightning.createComponent("HealthCloudGA:HcSingleCarePlan", {
patientId: patientId,
shownInAlohaConsole: true
}, "lightningout-careplan");
document.getElementById("spinnerDiv").className = "slds-hidden";
});
</script>
</apex:page> |